package com.geovis.emergency.spd.entity.system.pojo.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Set;

/**
 * <p>
 * 登录用户DTO
 * </p>
 *
 * @author 王响
 * @since 2020-10-28
 */
@Getter
@Setter
@ToString(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "LoginUserDTO", description = "登录用户信息、角色信息、权限信息DTO")
public class LoginUserDTO implements Serializable {

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "机构id")
    private String deptId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "真名")
    private String realName;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "数据状态（1-未停用，0-已停用）")
    private String dataStatus;

    @ApiModelProperty(value = "角色集合")
    private Set<String> roleList;

}
